package com.pe.rentcar.service.impl;

import java.util.List;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.pe.rentcar.Marca;
import com.pe.rentcar.dao.MarcaDao;
import com.pe.rentcar.service.MarcaService;

@Service
@Transactional
public class MarcaServiceImpl implements MarcaService {

//	private Logger logger = Logger.getLogger(MarcaServiceImpl.class);
	
	@Autowired
	private MarcaDao marcaDao;	
	
	@Override
	public Marca find(Integer id) {
		return marcaDao.find(id);
	}
		
	@Override
	public List<Marca> findAll() {
		return marcaDao.findAll();
	}

}
